gdk: Add GDK_DEBUG=hdr
authorBenjamin Otte <otte@redhat.com>
Sat, 2 Oct 2021 20:38:05 +0000 (22:38 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 6 Oct 2021 01:44:59 +0000 (03:44 +0200)
commit5eb42dd9f3b44041d2bf03006b296453bc862cef
tree91ddd5379539d29615f54a5aa979b4c0383ecedb
parent7ede468849e73b572f73285dcd66b1bfe6051ae5
gdk: Add GDK_DEBUG=hdr

Forces request_hdr = TRUE for all requests.

Backends should also use this when choosing whether to honor HDR
requests for low quality compositors - as long as the compositor
pretends to support HDR, shovel HDR at it.
gdk/gdk.c
gdk/gdkdebug.h
gdk/gdkdrawcontext.c